package com.ren.article.entity.vo;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName: ReclArticleVo
 * @Description: TODO
 * @Author: RZY
 * @DATE: 2022/7/20 17:44
 * @Version: v1.0
 */

@Data
public class ReclArticleVo {

    @ApiModelProperty(value = "美文唯一id")
    private Long id;

    @ApiModelProperty(value = "美文作者id")
    @JsonProperty(value = "create_user_id")
    private Long createUserId;

    @ApiModelProperty(value = "第一标签")
    @JsonProperty(value = "first_tag")
    private String firstTag;

    @ApiModelProperty(value = "第二标签")
    @JsonProperty(value = "second_tag")
    private String secondTag;

    @ApiModelProperty(value = "第三标签")
    @JsonProperty(value = "third_tag")
    private String thirdTag;

    @ApiModelProperty(value = "美文分类标题")
    @JsonProperty(value = "article_classify")
    private String articleClassify;

    @ApiModelProperty(value = "美文内容")
    @JsonProperty(value = "article_content")
    private String articleContent;

    @ApiModelProperty(value = "美文封面地址")
    @JsonProperty(value = "article_cover")
    private String articleCover;

    @ApiModelProperty(value = "浏览量")
    @JsonProperty(value = "view_count")
    private Integer viewCount;

    @ApiModelProperty(value = "收藏量")
    @JsonProperty(value = "collection_count")
    private Integer collectionCount;

    @ApiModelProperty(value = "当前状态('Draft’代表审核中， `Remove`代表下架， ‘Modify’代表内容不符需修改， ‘Verify’代表已上架)")
    private String status;

    @ApiModelProperty(value = "逻辑删除 1（true）已删除， 0（false）未删除")
    @JsonProperty(value = "is_deleted")
    private Boolean isDeleted;

    @ApiModelProperty(value = "创建时间")
    @JsonProperty(value = "gmt_create")
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @JsonProperty(value = "gmt_modified")
    private Date gmtModified;
}
